package fr.jade.event;

public class EventFactory {

  public static Event newEvent(){
    return new SimpleEvent(new EventHeader(), new EventBody());
  }
  
  public static Event newEvent(EventTag et){
    Event e = newEvent();
    e.getEventHeader().add(et);
    return e;
  }
}
